<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	    		xmlns:ui="http://java.sun.com/jsf/facelets"
	  			xmlns:h="http://java.sun.com/jsf/html"
	  			xmlns:f="http://java.sun.com/jsf/core"
	  			xmlns:sf="http://www.springframework.org/tags/faces"	  			
				template="/WEB-INF/layouts/standard.xhtml">

<ui:define name="content">

<div class="section">
	<h1>Confirmar ingresos</h1> 
</div>

<div class="section">
	<h:form id="confirm">
	<fieldset>
		<div class="field">
			<div class="label">Nombre:</div>
			<div class="output">#{ingreso.name}</div>
		</div>
		
		<div class="field">
			<div class="label">Dia Efectuado:</div>
			<div class="output">#{ingreso.diaEfectuadoString}
		</div>
		<div class="field">
			<div class="label">Precio:</div>
			 <div class="output">
				 <h:outputText value="#{ingreso.price}" >
				 <f:convertNumber type="currency" currencySymbol="$"/></h:outputText>
			 </div>
		</div>
			
		
</div>
		<div class="buttonGroup">
			<h:commandButton id="confirm" value="Confirmar" action="confirm"/>&#160;
    		<h:commandButton id="revise" value="Cambiar" action="revise"/>&#160;
    		<h:commandButton id="cancel" value="Cancelar" action="cancel"/>
		</div>
	</fieldset>
	</h:form>
</div>

</ui:define>
</ui:composition>